<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
</head>

<body class="container">
    <h3 align="center">卡片的边框颜色</h3>
    <div class="card border-primary mb-3">
        <div class="card-header text-primary"> border-primary边框颜色</div>
    </div>
    <div class="card border-secondary mb-3">
        <div class="card-header text-secondary"> border-secondary边框颜色</div>
    </div>
    <div class="card border-success mb-3">
        <div class="card-header text-success"> border-success边框颜色</div>
    </div>
    <div class="card border-danger mb-3">
        <div class="card-header text-danger">border-danger边框颜色</div>
    </div>
    <div class="card border-warning mb-3">
        <div class="card-header text-warning"> border-warning边框颜色</div>
    </div>
    <div class="card border-info mb-3">
        <div class="card-header text-info"> border-info边框颜色</div>
    </div>
    <div class="card border-light mb-3">
        <div class="card-header"> border-light边框颜色</div>
    </div>
    <div class="card border-dark mb-3">
        <div class="card-header text-dark"> border-dark边框颜色</div>
    </div>

</body>

</html>